package com.wonderful.mall.member.feign;

import com.wonderful.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 找到memberCoupon()方法
 *找到远程服务中mall-coupon所在位置
 * 找mall-coupon服务中的/coupon/coupon/member/list请求对应的方法
 */
@FeignClient("mall-coupon")
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/member/list")
    R memberCoupon();
}
